package com.cll.prototype.email;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 描述信息:
 *
 * @author CLL
 * @version 1.0
 * @date 2020/10/28 10:35
 */
@SpringBootApplication(scanBasePackages = {"com.cll.prototype.email", "com.cll.prototype.common.config"})
@MapperScan(basePackages = "com.cll.prototype.common.email.mapper")
@EnableDiscoveryClient
public class EmailApplication8060 {

    private static final Logger logger = LoggerFactory.getLogger(EmailApplication8060.class);

    public static void main(String[] args) {
        logger.info("===>>> 邮件微服务开始启动");
        SpringApplication.run(EmailApplication8060.class, args);
        logger.info("===>>> 邮件微服务启动成功");
    }
}
